package com.raymond.pinyougou.entity;

import java.io.Serializable;

/**
 * @Author Raymond
 * @Description 结果集
 * @Date 2019/3/23 18:01
 * @Version 1.0
 **/
public class Result implements Serializable {
    private static final long serialVersionUID = -5343199795780681438L;
    /**
     * 是否成功
     */
    private boolean success;
    /**
     * 具体信息
     */
    private String message;

    public Result(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
